# Contributor:
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=ioping
pkgver=1.2
pkgrel=0
pkgdesc="A simple disk i/o latency measurement tool"
url="https://github.com/koct9i/ioping"
arch="all !s390x"
license="GPL-3.0-or-later"
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/koct9i/ioping/archive/v$pkgver.tar.gz"

build() {
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}

sha512sums="4029f1b50dc292734088dc741e594c56021610aad16a0b9f42875b5fe91fbdf8d566a41dab0384aa739350f74e62688efdaf88168ab0d838b9c848ddd1c5dd96  ioping-1.2.tar.gz"
